package String;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 洪汤泽大帅哥
 * Date: 2024-11-10
 * Time: 11:23
 */
public class demo6 {
    public static void main(String[] args) {
        String str1 = "hello";
        for (int i = 0; i < str1.length(); i++) {
            char ch = str1.charAt(i);
            System.out.println(ch);
        }
    }
}
